package com.youlin.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 单位用户角色中间表
 * </p>
 *
 * @author ${author}
 * @since 2020-06-01
 */
@NoArgsConstructor
@Data
@Accessors(chain=true)
public class BygAdminRole implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 单位用户ID
     */
    private Integer adminId;

    /**
     * 单位角色ID
     */
    private Integer roleId;

}
